package cn.tedu.cinema.information.service.impl;

import cn.tedu.cinema.information.mapper.InformationMapper;
import cn.tedu.cinema.information.pojo.dto.InformationQuery;
import cn.tedu.cinema.information.pojo.vo.InformationVO;
import cn.tedu.cinema.information.service.InformationService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class InformationServiceImpl implements InformationService {
    @Autowired
    InformationMapper informationMapper;
    @Override
    public List<InformationVO> select(InformationQuery informationQuery) {
        log.debug("查询参数:informationQuery{}", informationQuery);
        List<InformationVO> list = informationMapper.select(informationQuery);
        return list;
    }
}
